package com.jxc.jxcmanage.code.mapper;

import java.util.List;

import com.jxc.jxcmanage.code.entity.Material;
import com.jxc.jxcmanage.dto.MaterialDto;

public interface MaterialMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Material record);

    int insertSelective(Material record);

    Material selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Material record);

    int updateByPrimaryKey(Material record);
    //分页查询
	List<MaterialDto> list(MaterialDto dto);
}